-
Home
-
Usercentrics Cookiebot – Cookie Banner & Privacy Compliance for GDPR/CCPA/Google Consent Mode
-
4.3.10
-
Code
-
Classes
- Cookiebot_Javascript_Helper
Total Complexity |
55 |
Dependencies |
3 |
Dependents |
2 |
Total lines |
258 |
Lines of code |
189 |
Logical lines of code |
96 |
Comment lines |
29 |
Methods |
11 |
Properties |
0 |
Methods 11
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
include_cookiebot_js() |
A |
45 |
14 |
41 |
get_data_regions() |
A |
52 |
11 |
24 |
include_google_consent_mode_js() |
S |
52 |
5 |
25 |
include_google_tag_manager_js() |
S |
53 |
5 |
23 |
get_custom_tcf_restrictions() |
S |
60 |
5 |
12 |
register_hooks() |
S |
60 |
4 |
12 |
get_consent_attribute() |
S |
64 |
4 |
10 |
include_publisher_restrictions_js() |
S |
53 |
2 |
24 |
get_custom_tcf_ids() |
S |
71 |
2 |
6 |
get_tcf_attribute() |
S |
65 |
2 |
9 |
is_tcf_enabled() |
S |
79 |
1 |
3 |